home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / X11 / extensions / xf86rush.h < prev    next >
C/C++ Source or Header  |  2006-04-12  |  2KB  |  114 lines

  1. /* $XFree86: xc/include/extensions/xf86rush.h,v 1.4 2000/02/29 03:09:00 dawes Exp $ */
  2. /*
  3.  
  4. Copyright (c) 1998  Daryll Strauss
  5.  
  6. */
  7.  
  8. #ifndef _XF86RUSH_H_
  9. #define _XF86RUSH_H_
  10.  
  11. #include <X11/extensions/Xv.h>
  12. #include <X11/Xfuncproto.h>
  13.  
  14. #define X_XF86RushQueryVersion        0
  15. #define X_XF86RushLockPixmap        1
  16. #define X_XF86RushUnlockPixmap        2
  17. #define X_XF86RushUnlockAllPixmaps    3
  18. #define X_XF86RushGetCopyMode        4
  19. #define X_XF86RushSetCopyMode        5
  20. #define X_XF86RushGetPixelStride    6
  21. #define X_XF86RushSetPixelStride    7
  22. #define X_XF86RushOverlayPixmap        8
  23. #define X_XF86RushStatusRegOffset    9
  24. #define X_XF86RushAT3DEnableRegs    10
  25. #define X_XF86RushAT3DDisableRegs    11
  26.  
  27. #define XF86RushNumberEvents        0
  28.  
  29. #define XF86RushClientNotLocal        0
  30. #define XF86RushNumberErrors        (XF86RushClientNotLocal + 1)
  31.  
  32. #ifndef _XF86RUSH_SERVER_
  33.  
  34. _XFUNCPROTOBEGIN
  35.  
  36. Bool XF86RushQueryVersion(
  37.     Display*        /* dpy */,
  38.     int*        /* majorVersion */,
  39.     int*        /* minorVersion */
  40. );
  41.  
  42. Bool XF86RushQueryExtension(
  43.     Display*        /* dpy */,
  44.     int*        /* event_base */,
  45.     int*        /* error_base */
  46. );
  47.  
  48. Bool XF86RushLockPixmap(
  49.     Display *        /* dpy */,
  50.     int            /* screen */,
  51.     Pixmap        /* Pixmap */,
  52.     void **        /* Return address */
  53. );
  54.  
  55. Bool XF86RushUnlockPixmap(
  56.     Display *        /* dpy */,
  57.     int            /* screen */,
  58.     Pixmap        /* Pixmap */
  59. ); 
  60.  
  61. Bool XF86RushUnlockAllPixmaps(
  62.     Display *        /* dpy */
  63. );
  64.  
  65. Bool XF86RushSetCopyMode(
  66.     Display *        /* dpy */,
  67.     int            /* screen */,
  68.     int            /* copy mode */
  69. );
  70.  
  71. Bool XF86RushSetPixelStride(
  72.     Display *        /* dpy */,
  73.     int            /* screen */,
  74.     int            /* pixel stride */
  75. );
  76.  
  77. Bool XF86RushOverlayPixmap(
  78.     Display *        /* dpy */,
  79.     XvPortID        /* port */,
  80.     Drawable        /* d */,
  81.     GC            /* gc */,
  82.     Pixmap        /* pixmap */,
  83.     int            /* src_x */,
  84.     int            /* src_y */,
  85.     unsigned int    /* src_w */,
  86.     unsigned int    /* src_h */,
  87.     int            /* dest_x */,
  88.     int            /* dest_y */,
  89.     unsigned int    /* dest_w */,
  90.     unsigned int    /* dest_h */,
  91.     unsigned int    /* id */
  92. );
  93.  
  94. int XF86RushStatusRegOffset(
  95.     Display *        /* dpy */,
  96.     int            /* screen */
  97. );
  98.  
  99. Bool XF86RushAT3DEnableRegs(
  100.     Display *        /* dpy */,
  101.     int            /* screen */
  102. );
  103.  
  104. Bool XF86RushAT3DDisableRegs(
  105.     Display *        /* dpy */,
  106.     int            /* screen */
  107. );
  108.  
  109. _XFUNCPROTOEND
  110.  
  111. #endif /* _XF86RUSH_SERVER_ */
  112.  
  113. #endif /* _XF86RUSH_H_ */
  114.